package com.cg.entity;

import java.util.List;

import com.cg.utils.DictUtils;

/**
* @author LCW
* 
*/
public class UserInfo {
	private Integer id;
	/**
	 * 姓名
	 */
	private String userName;
	private String password;
	public String getPasswrod() {
		return password;
	}
	public void setPasswrod(String passwrod) {
		this.password = passwrod;
	}
	/**
	 * 所属网格id
	 */
	private Integer gridId;
	/**
	 * 所属楼栋
	 */
	private Integer buildingId;
	/**
	 * 楼层地址
	 */
	private String buildingAddress;
	/**Í
	 * 户籍地址
	 */
	private String permanentAddress; 
	/**
	 * 家庭住址
	 */
	private String homeAddress;
	/**
	 * 性别
	 */
	private Integer gender;
	
	private String genderStr;
	/**
	 * 与户主关系
	 */
	private String householderRel;
	/**
	 * 政治面貌
	 */
	private Integer politicalStatus;
	
	private String politicalStatusStr;
	/**
	 * 身份证号
	 */
	private String  identifyNumber;
	/**
	 * 民族
	 */
	private String nation;
	/**
	 * 文化水平
	 */
	private String educationLevel;
	/**
	 * 婚姻状况
	 */
	private Integer maritalStatus;
	
	private String maritalStatusStr;
	/**
	 * 电话
	 */
	private String telephone;
	/**
	 * 工作单位
	 */
	private String  workUnit;
	/**
	 * 兵役状况
	 */
	private Integer militaryServiceStatus;
	
	private String militaryServiceStatusStr;
	/**
	 * 是否享受低保
	 */
	private Integer enjoyLivingAllowancesFlg;
	
	private String enjoyLivingAllowancesFlgStr;
	/**
	 * 是否残疾
	 */
	private Integer deformityFlg;
	
	private String deformityFlgStr;
	/**
	 * 残疾种类
	 */
	private String deformityType;
	/**
	 * 残疾级别
	 */
	private String deformityLevel;
	/**
	 * 是否重点优扶对象
	 */
	private Integer helpTargetFlg;
	
	private String helpTargetFlgStr;
	/**
	 * 优扶类型
	 */
	private String helpTargetType;
	/**
	 * 涉毒情况
	 */
	private Integer concernedDrugs;
	
	private String concernedDrugsStr;
	/**
	 * 违反治安情况行政拘留
	 */
	private Integer violationPeaceSituation;
	
	private String violationPeaceSituationStr;
	/**
	 * 违法情况
	 */
	private Integer illegalSituation;
	
	private String illegalSituationStr;
	/**
	 * 是否参加邪教组织
	 */
	private Integer joinCultFlg;
	
	private String joinCultFlgStr;
	/**
	 * 邪教组织名称
	 */
	private String cultName;
	/**
	 * 养老保险
	 */
	private Integer endowmentInsurance;
	
	private String endowmentInsuranceStr;
	/**
	 * 工伤保险
	 */
	private Integer industrialInsurance;
	
	private String industrialInsuranceStr;
	/**
	 * 失业保险
	 */
	private Integer unemploymentInsurance;
	
	private String unemploymentInsuranceStr;
	/**
	 * 医疗保险
	 */
	private Integer medicalInsurance;
	
	private String medicalInsuranceStr;
	/**
	 * 生育保险
	 */
	private Integer birthInsurance;
	
	private String birthInsuranceStr;
	/**
	 * 幸福家庭五评比情况
	 */
	private Integer happinessFamilyRate;
	
	private String happinessFamilyRateStr;
	/**
	 * 存在问题
	 */
	private String exitingProblem;
	/**
	 * 是否整改
	 */
	private Integer rectificationFlg;
	
	private String rectificationFlgStr;
	/**
	 * 享受服务情况
	 */
	private Integer enjoyServiceFlg;
	
	private String enjoyServiceFlgStr;
	
	private String headPic;
	
	private String createTime;
	
	private List<String> userNames;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Integer getGridId() {
		return gridId;
	}
	public void setGridId(Integer gridId) {
		this.gridId = gridId;
	}
	
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getPermanentAddress() {
		return permanentAddress;
	}
	public void setPermanentAddress(String permanentAddress) {
		this.permanentAddress = permanentAddress;
	}
	public String getHomeAddress() {
		return homeAddress;
	}
	public void setHomeAddress(String homeAddress) {
		this.homeAddress = homeAddress;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public String getHouseholderRel() {
		return householderRel;
	}
	public void setHouseholderRel(String householderRel) {
		this.householderRel = householderRel;
	}
	public Integer getPoliticalStatus() {
		return politicalStatus;
	}
	public void setPoliticalStatus(Integer politicalStatus) {
		this.politicalStatus = politicalStatus;
	}
	public String getIdentifyNumber() {
		return identifyNumber;
	}
	public void setIdentifyNumber(String identifyNumber) {
		this.identifyNumber = identifyNumber;
	}
	public String getNation() {
		return nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	public String getEducationLevel() {
		return educationLevel;
	}
	public void setEducationLevel(String educationLevel) {
		this.educationLevel = educationLevel;
	}
	public Integer getMaritalStatus() {
		return maritalStatus;
	}
	public void setMaritalStatus(Integer maritalStatus) {
		this.maritalStatus = maritalStatus;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getWorkUnit() {
		return workUnit;
	}
	public void setWorkUnit(String workUnit) {
		this.workUnit = workUnit;
	}
	public Integer getMilitaryServiceStatus() {
		return militaryServiceStatus;
	}
	public void setMilitaryServiceStatus(Integer militaryServiceStatus) {
		this.militaryServiceStatus = militaryServiceStatus;
	}
	public Integer getEnjoyLivingAllowancesFlg() {
		return enjoyLivingAllowancesFlg;
	}
	public void setEnjoyLivingAllowancesFlg(Integer enjoyLivingAllowancesFlg) {
		this.enjoyLivingAllowancesFlg = enjoyLivingAllowancesFlg;
	}
	public Integer getDeformityFlg() {
		return deformityFlg;
	}
	public void setDeformityFlg(Integer deformityFlg) {
		this.deformityFlg = deformityFlg;
	}
	public String getDeformityType() {
		return deformityType;
	}
	public void setDeformityType(String deformityType) {
		this.deformityType = deformityType;
	}
	public String getDeformityLevel() {
		return deformityLevel;
	}
	public void setDeformityLevel(String deformityLevel) {
		this.deformityLevel = deformityLevel;
	}
	public Integer getHelpTargetFlg() {
		return helpTargetFlg;
	}
	public void setHelpTargetFlg(Integer helpTargetFlg) {
		this.helpTargetFlg = helpTargetFlg;
	}
	public String getHelpTargetType() {
		return helpTargetType;
	}
	public void setHelpTargetType(String helpTargetType) {
		this.helpTargetType = helpTargetType;
	}
	public Integer getConcernedDrugs() {
		return concernedDrugs;
	}
	public void setConcernedDrugs(Integer concernedDrugs) {
		this.concernedDrugs = concernedDrugs;
	}
	public Integer getViolationPeaceSituation() {
		return violationPeaceSituation;
	}
	public void setViolationPeaceSituation(Integer violationPeaceSituation) {
		this.violationPeaceSituation = violationPeaceSituation;
	}
	public Integer getIllegalSituation() {
		return illegalSituation;
	}
	public void setIllegalSituation(Integer illegalSituation) {
		this.illegalSituation = illegalSituation;
	}
	public Integer getJoinCultFlg() {
		return joinCultFlg;
	}
	public void setJoinCultFlg(Integer joinCultFlg) {
		this.joinCultFlg = joinCultFlg;
	}
	public String getCultName() {
		return cultName;
	}
	public void setCultName(String cultName) {
		this.cultName = cultName;
	}
	public Integer getEndowmentInsurance() {
		return endowmentInsurance;
	}
	public void setEndowmentInsurance(Integer endowmentInsurance) {
		this.endowmentInsurance = endowmentInsurance;
	}
	public Integer getIndustrialInsurance() {
		return industrialInsurance;
	}
	public void setIndustrialInsurance(Integer industrialInsurance) {
		this.industrialInsurance = industrialInsurance;
	}
	public Integer getUnemploymentInsurance() {
		return unemploymentInsurance;
	}
	public void setUnemploymentInsurance(Integer unemploymentInsurance) {
		this.unemploymentInsurance = unemploymentInsurance;
	}
	public Integer getMedicalInsurance() {
		return medicalInsurance;
	}
	public void setMedicalInsurance(Integer medicalInsurance) {
		this.medicalInsurance = medicalInsurance;
	}
	public Integer getBirthInsurance() {
		return birthInsurance;
	}
	public void setBirthInsurance(Integer birthInsurance) {
		this.birthInsurance = birthInsurance;
	}
	public String getExitingProblem() {
		return exitingProblem;
	}
	public void setExitingProblem(String exitingProblem) {
		this.exitingProblem = exitingProblem;
	}
	public Integer getHappinessFamilyRate() {
		return happinessFamilyRate;
	}
	public void setHappinessFamilyRate(Integer happinessFamilyRate) {
		this.happinessFamilyRate = happinessFamilyRate;
	}
	public Integer getRectificationFlg() {
		return rectificationFlg;
	}
	public void setRectificationFlg(Integer rectificationFlg) {
		this.rectificationFlg = rectificationFlg;
	}
	public Integer getEnjoyServiceFlg() {
		return enjoyServiceFlg;
	}
	public void setEnjoyServiceFlg(Integer enjoyServiceFlg) {
		this.enjoyServiceFlg = enjoyServiceFlg;
	}
	public String getPoliticalStatusStr() {
		politicalStatusStr =  DictUtils.getDictLabel(getPoliticalStatus()==null?"":getPoliticalStatus().toString(), "political_status", "");
		return politicalStatusStr;
	}
	public String getMaritalStatusStr() {
		maritalStatusStr = DictUtils.getDictLabel(getMaritalStatus()==null?"":getMaritalStatus().toString(), "marital_status", "");
		return maritalStatusStr;
	}
	public String getMilitaryServiceStatusStr() {
		militaryServiceStatusStr = DictUtils.getDictLabel(getMilitaryServiceStatus()==null?"":getMilitaryServiceStatus().toString(), "military_service_status", "");
		return militaryServiceStatusStr;
	}
	public String getEnjoyLivingAllowancesFlgStr() {
		enjoyLivingAllowancesFlgStr = DictUtils.getDictLabel(getEnjoyLivingAllowancesFlg()==null?"":getEnjoyLivingAllowancesFlg().toString(), "yesorno", "");
		return enjoyLivingAllowancesFlgStr;
	}
	public String getDeformityFlgStr() {
		deformityFlgStr = DictUtils.getDictLabel(getDeformityFlg()==null?"":getDeformityFlg().toString(), "yesorno", "")+","+
				getDeformityType()==null?"":getDeformityType()+","+getDeformityLevel()==null?"":getDeformityLevel();
		return deformityFlgStr;
	}
	public String getHelpTargetFlgStr() {
		helpTargetFlgStr = DictUtils.getDictLabel(getHelpTargetFlg()==null?"":getHelpTargetFlg().toString(), "yesorno", "")+","+
				getHelpTargetType()==null?"":getHelpTargetType();
		return helpTargetFlgStr;
	}
	public String getConcernedDrugsStr() {
		concernedDrugsStr = DictUtils.getDictLabel(getConcernedDrugs()==null?"":getConcernedDrugs().toString(), "concerned_drugs", "");
		return concernedDrugsStr;
	}
	public String getViolationPeaceSituationStr() {
		violationPeaceSituationStr = DictUtils.getDictLabel(getViolationPeaceSituation()==null?"":getViolationPeaceSituation().toString(), "yesorno", "");
		return violationPeaceSituationStr;
	}
	public String getIllegalSituationStr() {
		illegalSituationStr = DictUtils.getDictLabel(getIllegalSituation()==null?"":getIllegalSituation().toString(), "illegal_situation", "");
		return illegalSituationStr;
	}
	public String getJoinCultFlgStr() {
		joinCultFlgStr = DictUtils.getDictLabel(getJoinCultFlg()==null?"":getJoinCultFlg().toString(), "yesorno", "")+","+getCultName()==null?"":getCultName();
		return joinCultFlgStr;
	}
	public String getEndowmentInsuranceStr() {
		endowmentInsuranceStr = DictUtils.getDictLabel(getEndowmentInsurance()==null?"":getEndowmentInsurance().toString(), "endowment_insurance", "");
		return endowmentInsuranceStr;
	}
	public String getIndustrialInsuranceStr() {
		industrialInsuranceStr = DictUtils.getDictLabel(getIndustrialInsurance()==null?"":getIndustrialInsurance().toString(), "yesorno", "");
		return industrialInsuranceStr;
	}
	public String getUnemploymentInsuranceStr() {
		unemploymentInsuranceStr = DictUtils.getDictLabel(getUnemploymentInsurance()==null?"":getUnemploymentInsurance().toString(), "yesorno", "");
		return unemploymentInsuranceStr;
	}
	public String getMedicalInsuranceStr() {
		medicalInsuranceStr = DictUtils.getDictLabel(getMedicalInsurance()==null?"":getMedicalInsurance().toString(), "medical_insurance", "");
		return medicalInsuranceStr;
	}
	public String getBirthInsuranceStr() {
		birthInsuranceStr = DictUtils.getDictLabel(getBirthInsurance()==null?"":getBirthInsurance().toString(), "yesorno", "");
		return birthInsuranceStr;
	}
	public String getHappinessFamilyRateStr() {
		happinessFamilyRateStr = DictUtils.getDictLabel(getHappinessFamilyRate()==null?"":getHappinessFamilyRate().toString(), "happiness_family_rate", "");
		return happinessFamilyRateStr;
	}
	public String getRectificationFlgStr() {
		rectificationFlgStr = DictUtils.getDictLabel(getRectificationFlg()==null?"":getRectificationFlg().toString(), "yesorno", "");
		return rectificationFlgStr;
	}
	public String getEnjoyServiceFlgStr() {
		enjoyServiceFlgStr = DictUtils.getDictLabel(getEnjoyServiceFlg()==null?"":getEnjoyServiceFlg().toString(), "enjoyServiceFlg", "");
		return enjoyServiceFlgStr;
	}
	public String getGenderStr() {
		genderStr = DictUtils.getDictLabel(getGender()==null?"":getGender().toString(), "gender", "");
		return genderStr;
	}
	
	public Integer getBuildingId() {
		return buildingId;
	}
	public void setBuildingId(Integer buildingId) {
		this.buildingId = buildingId;
	}
	public String getBuildingAddress() {
		return buildingAddress;
	}
	public void setBuildingAddress(String buildingAddress) {
		this.buildingAddress = buildingAddress;
	}
	public String getHeadPic() {
		return headPic;
	}
	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}
	public List<String> getUserNames() {
		return userNames;
	}
	public void setUserNames(List<String> userNames) {
		this.userNames = userNames;
	}
	
	
}
